﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 暑假作业
{
    public partial class Category : Form
    {
        public Category()
        {
            InitializeComponent();
        }
        //添加
        private void 添加ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Category_add category_Add = new Category_add();
            category_Add.Show();
        }
        //修改
        private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Category_update Category_Update = new Category_update();
            Category_Update.Show();
        }
        //关闭回到主窗体
        private void Category_FormClosing(object sender, FormClosingEventArgs e)
        {
            Form1 form1 = new Form1();
            form1.Show();
        }
        //展示数据
        private void Category_Load(object sender, EventArgs e)
        {

        }
    }
}
